package com.example.apiproject.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Report implements Serializable {

    private static final long serialVersionUID = 6354191601220275571L;

    /**
     * 前端传给后端，和后端返回前端的type是类型数字用逗号分隔的字符串，前端展示时根据约定的类型数字显示举报类型的文字描述
     */
    //不良内容
    public static final  Integer BAD_CONTENT = 1;
    //虚假欺诈
    public static final  Integer FAKE_CHEAT = 2;
    //信息骚扰
    public static final  Integer HARASSMENT = 3;
    //其他
    public static final  Integer OTHER = 4;

    private Integer id;

    private Integer userId;

    private String articleId;

    private String types;

    private String content;

    private LocalDateTime createTime;
    /**
     * 待处理，已处理
     */
    private Integer status;


}
